package com.ruoyi.applet.mapper;

import java.util.List;
import com.ruoyi.applet.domain.SpikesInfo;
import org.apache.ibatis.annotations.Param;

/**
 * 秒杀活动Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-14
 */
public interface SpikesInfoMapper 
{
    Integer updateSpikesNumber(@Param("spikesGoodsId") Long spikesGoodsId,@Param("spikesNumber") Long spikesNumber,@Param("spikesSold") Long spikesSold,@Param("spikesInfoId") Long spikesInfoId);

    SpikesInfo selectAllBySpikesGoodIdSpikesInfo(@Param("spikesGoodsId") Long spikesGoodsId,@Param("spikesInfoId") Long spikesInfoId);

}
